package com.wave.wavesystem.serve.annotation;


import com.wave.wavesystem.serve.enums.user.UserRoleEnum;

import java.lang.annotation.*;

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RoleCheck {

    UserRoleEnum value() default UserRoleEnum.USER;

    UserRoleEnum[] mastRole() default {};

}
